//
//  WMSegmentedView.h
//  WeightMaster
//
//  Created by sungeo on 15/8/24.
//  Copyright (c) 2015年 buddysoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WMSegmentedView;

@protocol WMSegmentedViewDelegate <NSObject>

- (void)wmSegmentedView:(WMSegmentedView *)view changedWithNewIndex:(NSNumber *)index;

@end

@interface WMSegmentedView : UIView

@property (nonatomic, weak) id<WMSegmentedViewDelegate> delegate;
@property (nonatomic) NSUInteger selectedIndex;

@end
